[Top] [Prev] [Next] [Bottom]
[Contents]
SaSetPrintArgs
Sets a flag to indicate whether a Sapphire/Web-generated server application executable will send back Form Element Arguments in the returned HTML stream.
#include "SaRnHtml.h"
int SaSetPrintArgs(int flag);
Arguments
- flag
- The flag is used to set debug mode on or off. Set flag to 0 to turn off debugging, or any other value to turn debugging on.
Return Values
Returns 1.
Sets a flag to indicate whether a Sapphire/Web-generated server application executable will send back Form Element Arguments in the returned HTML stream. This can be used to debug application executables. If your browser supports a View HTML Source or Text Mode, the arguments can be copied to a file and used as input to your a server application. To use such a file, run your cgi at the command line with:
cginame -debug ArgFileName
where ArgFileName
is the name that you copied the args
into. Arguments are formatted one per line with the Format:
FormElementName=ElementValue
Example
SaSetPrintArgs(1);
- Note: This call is generated automatically by Sapphire/Web in the cgi Main C file, with the
dirname
being the value of the Print form args
project option.
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.